package com.zhonglz.model;

import java.util.Date;
import java.util.List;

/***
 * 系统菜单表
 * @author zhonglz
 *
 */
public class SysMenu {
    private String id;//标识
    
    private String projectId;//项目id

    private String menuNo;//菜单编号

    private Byte menuType;//菜单类型1主菜单2子菜单3按钮

    private String menuName;//菜单名

    private String menuPath;//菜单路径

    private String menuIcon;//菜单图标

    private String menuParentNo;//父级编号（关联菜单编号）

    private String menuParentNos;//父级编号字符串拼接
    
    private String menuSort;//排序

    private Date createTime;//创建时间
    
    private List<SysMenu> children;  //子菜单
    

    public String getProjectId() {
		return projectId;
	}

	public void setProjectId(String projectId) {
		this.projectId = projectId;
	}

	public String getMenuSort() {
		return menuSort;
	}

	public void setMenuSort(String menuSort) {
		this.menuSort = menuSort;
	}

	public List<SysMenu> getChildren() {
		return children;
	}

	public void setChildren(List<SysMenu> children) {
		this.children = children;
	}

	public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id == null ? null : id.trim();
    }

    public String getMenuNo() {
        return menuNo;
    }

    public void setMenuNo(String menuNo) {
        this.menuNo = menuNo == null ? null : menuNo.trim();
    }

    public Byte getMenuType() {
        return menuType;
    }

    public void setMenuType(Byte menuType) {
        this.menuType = menuType;
    }

    public String getMenuName() {
        return menuName;
    }

    public void setMenuName(String menuName) {
        this.menuName = menuName == null ? null : menuName.trim();
    }

    public String getMenuPath() {
        return menuPath;
    }

    public void setMenuPath(String menuPath) {
        this.menuPath = menuPath == null ? null : menuPath.trim();
    }

    public String getMenuIcon() {
        return menuIcon;
    }

    public void setMenuIcon(String menuIcon) {
        this.menuIcon = menuIcon == null ? null : menuIcon.trim();
    }

    public String getMenuParentNo() {
        return menuParentNo;
    }

    public void setMenuParentNo(String menuParentNo) {
        this.menuParentNo = menuParentNo == null ? null : menuParentNo.trim();
    }

    public String getMenuParentNos() {
        return menuParentNos;
    }

    public void setMenuParentNos(String menuParentNos) {
        this.menuParentNos = menuParentNos == null ? null : menuParentNos.trim();
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
}